<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="/css/cardDetails.css">
    <link href="/css/icon.css" rel="stylesheet" type="text/css"/>

    <title>卡项详情</title>
</head>

<body>
    <div class="warp">
        <div class="cardContent">
            <div class="top">
                <div><p class="logo"></p><p>眼管家</p></div>
                <p>有效期：<span>永久有效</span></p>
            </div>
            <div class="bottom">
                <p>折扣卡</p>
                <p>1234 6645 6454 654</p>
            </div>
        </div>
    </div>


    <div class="cardnews">
        <div class="title">
            <span class="label"></span>
            <p><span></span> <span>会员权益</span></p>
            <span class="label"></span>
        </div>
        <div class="equity">
            <div>
                <div class="imgcontent"></div>
                <div>
                    <p>全店通用</p>
                    <p>8.5折</p>
                </div>
            </div>
          
            <a class="a-link">查看服务</a>
        </div>
    </div>
    <div class="cardnews">
        <div class="title">
            <span class="label"></span>
            <p><span></span> <span>卡项适用门店</span></p>
            <span class="label"></span>
        </div>

        <div class="store">
            <img src="" alt="">
            <div>
                <p>第一门诊</p>
                <p>江南西132222225515号</p>
            </div>
        </div>
    </div>

    <div class="link">
        <div class="explain-content" onclick="showExplain()">
            <div class="link-content sub" >
                    <div class="icon-content">
                        <div class="aui-cou-img">
                            <icon class="order"  style="color: #f85; font-size: 16px; line-height: 48px;"></icon>
                        </div>
                        <p>
                        使用说明
                        </p>
                    </div>
                    <div class="a-link" id="explain">
                    </div>
                </div>
                <p class="explain-details">test折扣卡55555555555555555</p>
        </div>
          
            <a class="link-content" href="">
                <div class="icon-content">
                    <div class="aui-cou-img">
                        <icon class="shop"  style="color: #f85; font-size: 16px; line-height: 48px;"></icon>
                    </div>
                    <p>
                        进入店铺
                    </p>
                </div>
                <div class="a-link">
                </div>
            </a>
            <a class="link-content" href="tel:4008038908">
                <div class="icon-content">
                    <div class="aui-cou-img">
                        <icon class="phone"  style="color: #f85; font-size: 16px; line-height: 48px;"></icon>
                    </div>
                    <p>
                    联系商家
                    </p>
                </div>
                <div class="a-link">
                </div>
            </a>
    </div>

    <div class="footer">
        <p>
            <a href="#">店铺主页</a><a href="#">会员中心</a><a href="#">关注店铺</a>
        </p>
        <p>由 眼管家 提供技术支持</p>
    </div>


    <script>
        function showExplain(){
            let explain = document.querySelector('#explain')
            let explainDetails = document.querySelector('.explain-details')
            if(explain.className == 'a-link'){
                explain.className = 'a-link explain'
                explainDetails.style.display = 'block'
            }else{
                explain.className = 'a-link'
                explainDetails.style.display = 'none'
            }
        }
    </script>
</body>
</html>